package com.zwj.rms.controller;

import com.zwj.rms.service.CommonService;
import com.zwj.rms.vo.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/common")
public class CommonController {
    private final CommonService commonService;
    public CommonController(CommonService commonService) {
        this.commonService = commonService;
    }
    
    @ApiOperation(value = "状态枚举", notes = "状态枚举")
    @GetMapping("/getStatus")
    public Result getStatus() {
        return commonService.getStatus();
    }
    @ApiOperation(value = "性别枚举", notes = "性别枚举")
    @GetMapping("/getSex")
    public Result getSex() {
        return commonService.getSex();
    }
//
//    @ApiOperation(value = "有效院系", notes = "有效院系")
//    @GetMapping("/getColleges")
//    public Result getColleges() {
//        return commonService.getColleges();
//    }
//
//    @ApiOperation(value = "有效专业", notes = "有效专业")
//    @GetMapping("/getMajor")
//    public Result getMajor() {
//        return commonService.getMajor();
//    }
//
//    @ApiOperation(value = "有效年级", notes = "有效年级")
//    @GetMapping("/getYear")
//    public Result getYear() {
//        return commonService.getYearInfo();
//    }
//
//    @ApiOperation(value = "有效班号", notes = "有效班号")
//    @GetMapping("/getClassBase")
//    public Result getClassBase() {
//        return commonService.getClassBase();
//    }
//
//    @ApiOperation(value = "有效老师", notes = "有效老师")
//    @GetMapping("/getTeacher")
//    public Result getTeacher() {
//        return commonService.getTeacher();
//    }
//    @ApiOperation(value = "有效项目组", notes = "有效项目组")
//    @GetMapping("/getTeam")
//    public Result getTeam() {
//        return commonService.getTeam();
//    }
//    @ApiOperation(value = "是否结业枚举", notes = "是否结业枚举")
//    @GetMapping("/getYesOrNo")
//    public Result getYesOrNo() {
//        return commonService.getYesOrNo();
//    }
//    @ApiOperation(value = "教师职位枚举", notes = "教师职位枚举")
//    @GetMapping("/getTeacherPosition")
//    public Result getTeacherPosition() {
//        return commonService.getTeacherPosition();
//    }
//    @ApiOperation(value = "学生项目角色枚举", notes = "学生项目角色枚举")
//    @GetMapping("/getStudentPosition")
//    public Result getStudentPosition() {
//        return commonService.getStudentPosition();
//    }
//
//    @ApiOperation(value = "课程", notes = "课程")
//    @PostMapping("/getCourse")
//    public Result getCourse(@RequestBody GetCourseBo getCourseBo) {
//        return commonService.getCourse(getCourseBo);
//    }
//    @ApiOperation(value = "实训教师", notes = "实训教师")
//    @GetMapping("/getTrainingTeacher")
//    public Result getTrainingTeacher() {
//        return commonService.getTrainingTeacher();
//    }
//    @ApiOperation(value = "责任教师", notes = "责任教师")
//    @GetMapping("/getResponsibleTeacher")
//    public Result getResponsibleTeacher() {
//        return commonService.getResponsibleTeacher();
//    }
//    @ApiOperation(value = "查询项目组中成员", notes = "查询项目组中成员")
//    @PostMapping("/selectTeamStudents")
//    public Result selectTeamStudents(@RequestBody SelectTeamStudentsBo selectTeamStudentsBo) {
//        return commonService.selectTeamStudents(selectTeamStudentsBo);
//    }
}
